package org.jeecg.glr.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 海康摄像头人脸识别结果
 * 原来的TBFaceDetectBaiduUserPhoto
 * @Author: jeecg-boot
 * @Date:   2020-02-11
 * @Version: V1.0
 */
@Data
@TableName("glr_video_bd_recognize")
public class GlrVideoBdRecognize implements Serializable {
    private static final long serialVersionUID = 1L;
    
	/**主键*/
	@TableId(type = IdType.UUID)
    private String id;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    private String createBy;
	/**创建日期*/
	@Excel(name = "创建日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;
	/**更新人*/
	@Excel(name = "更新人", width = 15)
    private String updateBy;
	/**更新日期*/
	@Excel(name = "更新日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
	/**所属部门*/
	@Excel(name = "所属部门", width = 15)
    private String sysOrgCode;
	/**所属公司*/
	@Excel(name = "所属公司", width = 15)
    private String sysCompanyCode;

	@Excel(name = "目录") private String catalog; //目录文件 图片

	@Excel(name = "设备序列号") private String equipmentSerial; //设备序列号

	@Excel(name = "拍照时间") private String takePhotoTimeString; //拍照时间

	@Excel(name = "拍照时间") private Date takePhotoTimeDate; //拍照时间

	@Excel(name = "百度服务编号") private String baiduServerCode; //百度服务编号

	@Excel(name = "") private Double score; //相似度
	@Excel(name = "") private String userId; //
	@Excel(name = "") private String groupId; //
	@Excel(name = "") private String userInfo; //

	@Excel(name = "") private String error_code;
	@Excel(name = "") private String error_msg;

	@Excel(name = "") private String face_detect;

	@Transient public transient String Lan;
	@Transient public transient String Lat;
	@Transient public transient GlrVideoBd glrVideoBd;

	@Transient public transient String scoreString;

	@Transient public transient String filePath;
}
